<html DIR="LTR" xmlns:MSHelp="http://msdn.microsoft.com/mshelp" xmlns:ddue="http://ddue.schemas.microsoft.com/authoring/2003/5" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:tool="http://www.microsoft.com/tooltip"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=Windows-1252"></META><META NAME="save" CONTENT="history"></META><title>Team Foundation Server Plug-in for Eclipse User Guide</title><STYLE TYPE="text/css">
    body
    {
        background:    #FFFFFF;
        color: #000000;
        font-family:    Verdana;
        font-size: medium;
        font-style: normal;
        font-weight: normal;
        margin-top:    0;
        margin-bottom:    0;
        margin-left:    0;
        margin-right:    0;
        width:    100%;
    }
    
    a
    {
        color:    #0000FF;
    }
    
    a:visited
    {
        color:    #0000FF;
    }
    
    a:link
    {
        color:    #0000FF;
    }
    
    a:hover
    {
        color:    #FF0000;
        cursor: hand;
    }
    
    a:active
    {
        color:    #FF0000;
        cursor: hand;
    }
    
    div#mainSection
    {
        font-size: 70%;
        width: 100%;
    }
    
    div#mainBody
    {
        font-size: 90%;
        margin-left:    5;
        margin-top: 10;
        padding-bottom: 20;
    }
    
    div#header
    {
        background-color: #D4DFFF;
        padding-top:    0;
        padding-bottom:    0;
        padding-left:    0;
        padding-right:    0;
        width:    100%;
    }
    
    div#header table
    {
        border-bottom-color: #C8CDDE;
        border-bottom-style: solid;
        border-bottom-width: 1;
        width:    100%;
    }
    
    span#runningHeaderText
    {
        color: #003399;
        font-size: 90%;
    }
    
    span#nsrTitle
    {
        color: #003399;
        font-size: 125%;
        font-weight: 600;
    }
    
    div#header table td
    {
        color: #0000FF;
        font-size: 70%;
        margin-top:    0;
        margin-bottom:    0;
        padding-right: 20;
    }
    
    div#header table tr#headerTableRow3 td
    {
        padding-bottom: 2;
        padding-top: 5;
    }
    
    div#header table#bottomTable
    {
        border-top-color: #FFFFFF;
        border-top-style: solid;
        border-top-width: 1;
        text-align: left;
    }
    
    div#footer
    {
        font-size: 90%;
        margin-top:    0;
        margin-bottom:    0;
        margin-left:    0;
        margin-right:    0;
        padding-top:    2;
        padding-bottom:    2;
        padding-left:    2;
        padding-right:    2;
        width:    100%;
    }
    
    hr#footerHR
    {
        border-bottom-color: #EEEEFF;
        border-bottom-style: solid;
        border-bottom-width: 1;
        border-top-color: C8CDDE;
        border-top-style: solid;
        border-top-width: 1;
        height: 3;
        color: #D4DFFF;
    }
    
    div.section
    {
        padding-top:    2;
        padding-bottom:    2;
        padding-left:    16;
        padding-right:    15;
        width:    100%;
    }
    
    .heading
    {
        font-weight:    bold;
        margin-top:        18;
        margin-bottom:    8;
    }
    
    h1.heading
    {
        color: #003399;
        font-size:    125%;
    }
    
    .subHeading
    {
        font-weight:    bold;
        margin-bottom:    4;
    }
    
    h3.subHeading
    {
        color:  #003399;
        font-size: 115%;
        font-weight: bold;
    }
    
    h4.subHeading
    {
        color: #003399;
        font-size: 105%;
    }
    
    h5.subHeading
    {
        color: #003399;
        font-size: 100%;
    }
    
    img.toggle
    {
    	border: 0;
	margin-right: 5;
    }

    img.copyCodeImage
    {
	border: 0;
	margin-right: 3;
    }

    img.downloadCodeImage
    {
	border: 0;
	margin-right: 3;
    }

    img.viewCodeImage
    {
	border: 0;
	margin-right: 3;
    }

    img.note
    {
	border: 0;
	margin-right: 3;
    }

    img#languageFilterImage
    {
	border: 0;
	margin-left: 10;
	vertical-align: middle;
    }

    img#membersOptionsFilterImage
    {
	border: 0;
	margin-left: 10;
	vertical-align: middle;
    }

    img#toggleAllImage
    {
	margin-left: 4;
	vertical-align: middle;
    }
    
    div#mainSection table
    {
        border: 0;
        font-size: 100%;
        width:    100%;
    }
    
    div#mainSection table th
    {
        background:    #EFEFF7;
        border-bottom-color: #C8CDDE;
        border-bottom-style: solid;
        border-bottom-width: 1;
        color: #000066;
        padding-left: 5;
        padding-right: 5;
    }
    
    div#mainSection table td
    {
        background:    #F7F7FF;
        border-top-color: #FFFFFF;
        border-top-style: solid;
        border-top-width: 1;
        padding-left: 5;
        padding-right: 5;
    }
    
    div#mainSection table td.imageCell
    {
        white-space: nowrap;
    }
    
    div.code table
    {
        border: 0;
        font-size: 95%;
        margin-bottom: 5;
        width: 100%
    }
    
    div.code table th
    {    
        background:    #EFEFF7;
        border-bottom-color: #C8CDDE;
        border-bottom-style: solid;
        border-bottom-width: 1;
        color: #000066;
        font-weight: bold;
        padding-left: 5;
        padding-right: 5;
    }
    
    div.code table td
    {
        background:    #F7F7FF;
        border-top-color: #FFFFFF;
        border-top-style: solid;
        border-top-width: 1;
        padding-left: 5;
        padding-right: 5;
        padding-top: 5;
    }
    
    div.alert table
    {
        border: 0;
        font-size: 100%;
        width:    100%;
    }
    
    div.alert table th
    {
        background:    #EFEFF7;
        border-bottom-width: 0;
        color: #000066;
        padding-left: 5;
        padding-right: 5;
    }
    
    div.alert table td
    {
        background:    #F7F7FF;
        border-top-color: #FFFFFF;
        border-top-style: solid;
        border-top-width: 1;
        padding-left: 5;
        padding-right: 5;
    }
    
    .copyCode
    {
        color: #0000ff;
        font-size: 90%;
        font-weight: normal;
    }
    
    .downloadCode
    {
        color: #0000ff;
        font-size: 90%;
        font-weight: normal;
    }
    
    .viewCode
    {
        color: #0000ff;
        font-size: 90%;
        font-weight: normal;
    }
    
    div.code pre
    {
        font-family:    Monospace, Courier New, Courier;
        font-size: 105%;
        color:    #000066;
        word-wrap:    break-word;
    }
    
    code
    {
        font-family:    Monospace, Courier New, Courier;
        font-size: 105%;
        color:    #000066;
    }
    
    dl
    {
        margin-top:    0;
        padding-left:    1;
    }
    
    dt
    {
        font-style:    italic;
    }
    
    dd
    {
        margin-bottom:    0;
        margin-left:    0;
    }
    
    ul
    {
        margin-left: 17;
        list-style-type: disc;
    }
    
    ul ul
    {
        margin-bottom: 4;
        margin-left: 17;
        margin-top: 3;
        list-style-type: disc;
    }
    
    ol
    {
        margin-left: 24;
        list-style-type: decimal;
    }
    
    ol ol
    {
        margin-bottom: 4;
        margin-left: 24;
        margin-top: 3;
        list-style-type: lower-alpha;
    }
    
    li
    {
        margin-bottom: 3;
    }
    
    p
    {
        margin-top: 0;
        margin-bottom: 15;
    }
    
    .tip
    {
        color:    #0000FF;
        font-style: italic;
        cursor:hand;
        text-decoration:underline;
    }
    
    .languageFilter
    {
        color:    #0000FF;
        cursor:hand;
        text-decoration:underline;
        padding-bottom:4;
    }
    
    .math
    {
        font-family: Times New Roman;
        font-size: 125%
    }
    
    .sourceCodeList
    {
        font-family: Verdana;
        font-size: 90%;    
    }
    
    pre.viewCode
    {
        width: 100%;
        overflow: auto;
    }
    
    MSHelp\:link
    {
        text-decoration: underline;
        color: #0000ff; 
        hoverColor: #3366ff;
        filterString: ;
    }
</STYLE>
</head>
<body><input type="hidden" id="userDataCache" class="userDataStyle"></input><input type="hidden" id="hiddenScrollOffset"></input><img id="dropDownImage" style="display:none; height:0; width:0;" src="drpdown.gif"><img id="dropDownHoverImage" style="display:none; height:0; width:0;" src="drpdown_orange.gif"><img id="collapseImage" style="display:none; height:0; width:0;" src="collapse.gif"><img id="expandImage" style="display:none; height:0; width:0;" src="exp.gif"><img id="copyImage" style="display:none; height:0; width:0;" src="copycode.gif"><img id="copyHoverImage" style="display:none; height:0; width:0;" src="copycodeHighlight.gif"><div id="header"><table width="100%" id="topTable"><tr id="headerTableRow1"><td align="left"><span id="runningHeaderText"></span></td></tr><tr id="headerTableRow2"><td align="left"><span id="nsrTitle">Team Foundation Server Plug-in for Eclipse User Guide</span></td></tr><tr id="headerTableRow3"></tr></table></div><div id="mainSection"><div id="mainBody"><div id="allHistory" class="saveHistory"></div>
				<p>You can use Team Explorer Everywhere to improve the predictability of your development processes. Team Explorer Everywhere includes both the Team Foundation Server plug-in for Eclipse and the Cross-platform Command-line Client for Team Foundation Server. You can use the work item tracking features to capture what is important to your customers, and track your project's progress. This enables you to enact processes and monitor their quality to help your team turn customer requirements into working software. You can manage your source code and project artifacts by using Team Foundation version control
. By using version control, you reduce risk and help improve the quality of your application. You can build your application by using the integrated build system so that your team can ensure that quality gates are met and can see what requirements have been fulfilled in each build.</p>
			<h1 class="heading">Using Team Explorer Everywhere for Iterative Development</h1><div id="sectionSection0" class="section"><content xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5">
					<h3 class="subHeading" xmlns=""></h3><table xmlns=""><tr>
								<th>
									Task
								</th>
								<th>
									Supporting Content
								</th>
							</tr><tr>
							<td>
								<p>
									<b>Getting started:</b> Before you can use the features of the Team Foundation Server plug-in for Eclipse, you must first establish a connection to an instance of Visual Studio Team Foundation Server
.</p>
							</td>
							<td>
								<ul><li class="unordered">
										
											<a href="gettingstarted.htm" target="_blank">Getting Started with Team Explorer Everywhere and Team Foundation Server</a>
										<br /><br />
									</li></ul>
							</td>
						</tr><tr>
							<td>
								<p>
									<b>Set up the local development environment:</b> In most team development environments, you must obtain access to the correct version of the source code files. You then update your local computer with the source files for the components that you must update.</p>
							</td>
							<td>
								<ul><li class="unordered">
										
											<a href="getlocalcopy.htm" target="_blank">Getting a Local Copy of Files from the Version Control Server</a>
										<br /><br />
									</li><li class="unordered">
										
											<a href="usingsce.htm" target="_blank">Using Source Control Explorer</a>
										<br /><br />
									</li><li class="unordered">
										
											<a href="workspaces.htm" target="_blank">Working with Team Foundation Server Workspaces</a>
										<br /><br />
									</li><li class="unordered">
										
											<a href="usingversionctrl.htm" target="_blank">Using Version Control</a>
										<br /><br />
									</li></ul>
							</td>
						</tr><tr>
							<td>
								<p>
									<b>Make code changes to accomplish a task or fix a bug:</b> During a development cycle, you spend most of your time making code changes. This process includes selecting a task or bug, checking out the required files, modifying the code, and then verifying that your changes are correct before you check them in. This task includes making changes to both application code and database code.</p>
							</td>
							<td>
								<ul><li class="unordered">
										
											<a href="#PerformIterativeDevelopment">Perform Iterative Development Tasks</a>
										<br /><br />
									</li><li class="unordered">
										
											<a href="#CompleteDevelopmentTasks">Completing Development Tasks</a>
										<br /><br />
									</li></ul>
							</td>
						</tr><tr>
							<td>
								<p>
									<b>Create and request builds:</b> You can use the integrated build system to perform automated builds on a scheduled basis or on demand. </p>
							</td>
							<td>
								<ul><li class="unordered">
										
											<a href="buildingapps.htm" target="_blank">Building Applications</a>
										<br /><br />
									</li></ul>
							</td>
						</tr><tr>
							<td>
								<p>
									<b>Define quality gates:</b> You can specify check-in policies to help protect the quality of the source files that are checked into version control.</p>
							</td>
							<td>
								<ul><li class="unordered">
										
											<a href="setqualitygates.htm" target="_blank">Setting and Enforcing Quality Gates</a>
										<br /><br />
									</li></ul>
							</td>
						</tr><tr>
							<td>
								<p>
									<b>Troubleshooting:</b> If you encounter issues when you use Team Explorer Everywhere, you can find information about common issues and their resolutions.</p>
							</td>
							<td>
								<ul><li class="unordered">
										
											<a href="troubleshooting.htm" target="_blank">Troubleshooting Issues with Team Explorer Everywhere</a>
										<br /><br />
									</li></ul>
							</td>
						</tr></table>
				</content><sections xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5">
					<a name="PerformIterativeDevelopment" xmlns=""></a><a name="index#PerformIterativeDevelopment" xmlns=""></a><h3 class="subHeading" xmlns="">Perform Iterative Development Tasks</h3><div class="subSection" xmlns=""><content xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5">
							<p xmlns="">You perform a set of common steps for each development task. Depending on the process used by your team, you might perform these tasks in a different order. For example, you might define your tests before you make code changes. </p>
							<p xmlns="">After you have identified a coding task and you have updated your local development computer with the correct version of the source code, you can make the necessary changes to your code. However, changing the code is only the first step, because you typically must test your changes. After you have verified the behavior of your application, you can complete your development task and move on to the next.</p>
							<h3 class="subHeading" xmlns=""></h3><table xmlns=""><tr>
										<th>
											Task
										</th>
										<th>
											Supporting Content
										</th>
									</tr><tr>
									<td>
										<p>
											<b>Identify work to be performed:</b> Your work typically consists of one or more coding tasks that must be performed, or one or more bugs that must be resolved. You retrieve the highest-priority items that are assigned to you from the work item tracking database. You might also review the overall schedule for the current iteration to verify that you can complete your tasks in the expected timeframe. You should also review the dependencies that other team members might have on your tasks, to avoid blocking progress. If your team has full-time testers, you should discuss the work with the tester responsible for the affected feature areas so that the tester can begin any test planning that is required.</p>
									</td>
									<td>
										<ul><li class="unordered">
												
													<a href="findwitems.htm" target="_blank">Finding Bugs, Tasks, and Other Work Items</a>
												<br /><br />
											</li></ul>
									</td>
								</tr><tr>
									<td>
										<p>
											<b>Prepare your development environment:</b> After you have identified the work that you must perform, you might have to update your development environment so that you have the required source code. If you are fixing a bug in a released or deployed version of the application, you might update your environment to have a specific version of the sources instead of the latest version. If you are working with databases, you might also want to configure a local development server.</p>
									</td>
									<td>
										<ul><li class="unordered">
												
													<a href="getlocalcopy.htm" target="_blank">Getting a Local Copy of Files from the Version Control Server</a>
												<br /><br />
											</li></ul>
									</td>
								</tr><tr>
									<td>
										<p>
											<b>Identify the cause of code defects:</b> Often, the first step that you take when you must fix a bug is to use the debugger to identify the cause of the issue. If the issue was recently introduced, you might check the historical data for the source files that contain the error to determine when and by whom the issue was introduced. In some situations, you might want to roll back the original change and consider a different code change.</p>
									</td>
									<td>
										<ul><li class="unordered">
												
													<a href="versionctrlhistory.htm" target="_blank">Viewing Historical Data for Files under Version Control</a>
												<br /><br />
											</li></ul>
									</td>
								</tr><tr>
									<td>
										<p>
											<b>Make code changes:</b> You identify what changes have to be made, you make one or more code changes, you test those changes, and you verify that your changes meet the coding standards of your team.</p>
									</td>
									<td>
										<p>
										</p>
									</td>
								</tr><tr>
									<td>
										<p>
											<b>Complete the work:</b> When you believe that your code changes are ready, you often review them with one or more peers, perform a final full build, and run check in tests. After you have checked in your changes and resolved any merge conflicts, you resolve any related tasks, bugs, and other work items.</p>
									</td>
									<td>
										<ul><li class="unordered">
												
													<a href="#CompleteDevelopmentTasks">Completing Development Tasks</a>
												<br /><br />
											</li></ul>
									</td>
								</tr></table>
						</content></div>
					<a name="CompleteDevelopmentTasks" xmlns=""></a><a name="index#CompleteDevelopmentTasks" xmlns=""></a><h3 class="subHeading" xmlns="">Completing Development Tasks</h3><div class="subSection" xmlns=""><content xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5">
							<p xmlns="">When you have completed the implementation and testing of a code change to address a task, a bug, or another work item, you typically perform several additional tasks. In a team environment, you often ask one or more members of your development team to review your code. You should also perform a final full build of the application.</p>
							<p xmlns="">You might have a set of check-in tests that must be passed before you can check in the code. After all criteria have been satisfied, you can check in the pending code changes, resolving any merge conflicts.</p>
							<p xmlns="">Only when all the steps that are required have been completed do you resolve the corresponding tasks, bugs, or other work items.</p>
							<h3 class="subHeading" xmlns=""></h3><table xmlns=""><tr>
										<th>
											Task
										</th>
										<th>
											Supporting Content
										</th>
									</tr><tr>
									<td>
										<p>
											<b>Have the code reviewed by your peers:</b> In many team development environments, you must have code changes reviewed by one or more peers before you can check in those changes. You should consider having one of your peers review any complex code even if this step is not required by your team. </p>
										<p>To facilitate a code review, you might prepare a shelveset that contains your changes. Other team members can examine the contents of the shelveset. Additionally, the changes are saved in version control so that you can work on other tasks, and so that your changes are not at risk if something unexpected happens to your development environment.</p>
									</td>
									<td>
										<p>
										</p>
									</td>
								</tr><tr>
									<td>
										<p>
											<b>Perform a final full build and run related tests:</b> Often, when you are making code changes, you build only those components that you are changing. In a team environment, you should consider building the whole application before you check in the changes. On some teams, you can submit check-ins to a computer that runs continuous builds.</p>
										<p>On many teams, you must also run a subset of the application tests known as check-in tests. These tests verify that you have not broken behavior of the application in areas other than those that you modified directly.</p>
									</td>
									<td>
										<ul><li class="unordered">
												
													<a href="runbuilds.htm" target="_blank">Running and Monitoring Builds</a>
												<br /><br />
											</li></ul>
									</td>
								</tr><tr>
									<td>
										<p>
											<b>Check in all changes:</b> After you have verified your changes, you must check them in to version control to make them available to the team. By checking in your changes, you also cause them to appear in the next full product build. You can also revert pending changes if, for example, they posed too much risk in the current stage of a product cycle.</p>
										<p>If you are changing code that is protected by a gated check-in build, a shelveset will be created and your pending changes must build successfully before they will be checked in.</p>
									</td>
									<td>
										<ul><li class="unordered">
												
													<a href="checkinpending.htm" target="_blank">Check in Pending Changes</a>
												<br /><br />
											</li><li class="unordered">
												
													<a href="resolveconflicts.htm" target="_blank">Resolve Conflicts between Two Files</a>
												<br /><br />
											</li><li class="unordered">
												
													<a href="detailspendingchanges.htm" target="_blank">View Work Item Details from Pending Changes Window</a>
												<br /><br />
											</li><li class="unordered">
												
													<a href="overridecheckinpolicy.htm" target="_blank">Override a Check-In Policy</a>
												<br /><br />
											</li><li class="unordered">
												
													<a href="undopending.htm" target="_blank">Undo Pending Changes</a>
												<br /><br />
											</li></ul>
									</td>
								</tr><tr>
									<td>
										<p>
											<b>Resolve tasks, bugs, and other work items:</b> After you have checked in the changes, you can resolve the related tasks, bugs, or other work items that are associated with the changes. You typically associate the changeset that contained the changes with the work item; if you do this, and then the bug recurs later, it will be easy to find the set of related changes. You should include enough information in the work item comments that other readers can understand what change was made and why. Also, you might consider applying a label so that you can refer back to this version of your source code.</p>
										<p>After you complete a work item, you might have to adjust the development schedule if that item took significantly more or less time than expected.</p>
									</td>
									<td>
										<ul><li class="unordered">
												
													<a href="findwitems.htm" target="_blank">Finding Bugs, Tasks, and Other Work Items</a>
												<br /><br />
											</li><li class="unordered">
												
													<a href="resolvewitem.htm" target="_blank">Resolve, Close, or Reactivate a Work Item</a>
												<br /><br />
											</li><li class="unordered">
												
													<a href="assocwitemchangeset.htm" target="_blank">Associate Work Items with Changesets</a>
												<br /><br />
											</li><li class="unordered">
												
													<a href="changesets.htm" target="_blank">Working with Changesets</a>
												<br /><br />
											</li></ul>
									</td>
								</tr><tr>
									<td>
										<p>
											<b>Provide design feedback:</b> When you make a code change, you might have to change elements of the application's design or architecture. If you change the design, you should update any architectural or design documents (this includes models) to reflect the changes. In addition, if you corrected a flaw, you might want to provide guidance to other team members about the nature of the flaw and instruct them about how to avoid it in the future.</p>
									</td>
									<td>
										<p>
										</p>
									</td>
								</tr></table>
						</content></div>
				</sections></div><h1 class="heading"><span id="seeAlsoNoToggle">See Also</span></h1><div id="seeAlsoSection" class="section"><h4 class="subHeading">Concepts</h4><a href="cmdlineref.htm" target="_blank">Command-line Reference</a><br /><br /></div><!--[if gte IE 5]>
			<tool:tip element="seeAlsoToolTip" avoidmouse="false"/><tool:tip element="languageFilterToolTip" avoidmouse="false"/>
		<![endif]--></div><div id="footer"><hr /><p /></div></div></body></html>